package com.shijunhao.graduation.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author shijunhao
 * @since 2022-03-04
 */
@TableName("system_dict")
public class SystemDict extends BaseEntity {
    private static final long serialVersionUID = 11L;
    /**
     * 字典编码
     */
    private String code;

    /**
     * 字典名称
     */
    private String name;

    @TableField(exist = false)
    private List<SystemDictItem> dictItems;


    public List<SystemDictItem> getDictItems() {
        return dictItems;
    }

    public void setDictItems(List<SystemDictItem> dictItems) {
        this.dictItems = dictItems;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
